package com.gengzp.common.model.permission.req;

import lombok.Data;
import org.apache.logging.log4j.core.config.plugins.validation.constraints.NotBlank;

import java.io.Serial;
import java.io.Serializable;

/**
 * @ClassName UnbindUserRoleRelationReq
 * @Description
 * @Author gengzp
 * @Date 2025/8/4 19:34
 */
@Data
public class UnbindUserRoleRelationReq implements Serializable {

    @Serial
    private static final long serialVersionUID = 6919325841708654254L;

    /**
     * 用户id
     */
    @NotBlank(message = "用户id不能为空")
    private String userId;

    /**
     * 角色id
     */
    @NotBlank(message = "角色id不能为空")
    private String roleId;

}
